package com.glela.domain.dto;

public class BackRedPacketRequest implements java.io.Serializable {

  /**
   * 退还类型 1：下单未支付，2：下单已支付申请退款
   */
  private int backType;
  /**
   * 红包拥记录Id
   */
  private int redPacketOwnerId;

  /***
   * 是否退还所有商品 true：是,false：否
   */
  private boolean backAll;


  public BackRedPacketRequest() {
    super();
  }

  public BackRedPacketRequest(int backType, int redPacketOwnerId, boolean backAll) {
    super();
    this.backType = backType;
    this.redPacketOwnerId = redPacketOwnerId;
    this.backAll = backAll;
  }

public int getBackType() {
    return backType;
  }

  public void setBackType(int backType) {
    this.backType = backType;
  }

  public int getRedPacketOwnerId() {
    return redPacketOwnerId;
  }

  public void setRedPacketOwnerId(int redPacketOwnerId) {
    this.redPacketOwnerId = redPacketOwnerId;
  }

  public boolean isBackAll() {
    return backAll;
  }

  public void setBackAll(boolean backAll) {
    this.backAll = backAll;
  }

  @Override
  public String toString() {
    return "BackRedPacketRequest{" +
        "backType=" + backType +
        ", redPacketOwnerId=" + redPacketOwnerId +
        ", backAll=" + backAll +
        '}';
  }
}
